Skip to main content

Get Comment

AutomatR.Jira.Activities.GetComment

The "Get Comment" activity in AutomatR's Jira package utilizes the Jira API to retrieve specific details about a comment associated with a particular issue. This activity is valuable for accessing and processing comment data within Jira for enhanced automation workflows.

Properties

NameDescription
Input
Ticket IDEnter the Ticket ID of the Jira issue for which the comment needs to be fetched. String variables containing the Ticket ID.
Comment IDEnter the ID of the existing comment to be fetched. This is a required field and is used to identify the specific comment. String variables containing the Comment ID.
Ticket KeyEnter the Ticket Key of the Jira issue for which the comment needs to be fetched. String variables containing the Ticket Key.
Misc
Display NameThe display name of the activity. This field supports only strings or String variables.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get Comment" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs an object containing details about the fetched comment. Variables of relevant types (e.g., dynamic variables) to store comment details.

How to use:

  1. Drag and drop the "Get Comment" activity onto the workflow.
  2. Configure the properties by specifying the Ticket ID, Comment ID, or Ticket Key.
  3. Optionally, configure the delay.
  4. Execute the workflow to retrieve details about the specified comment within the Jira issue.

Example: Consider an example where the "Get Comment" activity is used to retrieve details about a specific comment within a Jira issue:

Get Comment:
Ticket ID: "JIRA-123"
Comment ID: "456"
Result: commentDetails

In this example, the activity fetches details about the comment with ID "456" associated with the Jira issue "JIRA-123". The result, which includes details about the comment, is stored in the dynamic variable "commentDetails" for further handling in the workflow.